﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace SOM.Interfaces.Lists
{
  [GuidAttribute("A51FAEC4-BCE9-4A8E-9092-8E3482A035C6"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
  public interface IOpeningList //: System.Collections.Generic.IList<SOM.SOM.Interfaces.Lists.IOpening>//, SOM.Interfaces.Lists.IWallList
  {
    SOM.Interfaces.Objects.IOpening GetOpening(int index);
    SOM.Interfaces.Objects.IOpening GetOpeningFromID(int ID);
    int Count { get; set; }
    void ScanOpenings(string pfad);
    void Serialisieren(string pfad);
    bool Deserialisieren(string pfad);
    void SendToDatabase(string server, string table, string SchemeFilePath = "");
    void GetFromDatabase(string server, string table, string SchemeFilePath = "");
  }
}
